diff options
author | Lorenz Diener <[email protected]> | 2019-06-22 23:16:47 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-06-22 23:16:47 +0200 |
commit | 225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch) | |
tree | 58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_status_post[Content warning-private].yaml | |
parent | f920f8b58429b5d7dea43442765df824ac04bf91 (diff) | |
download | mastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz |
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-private].yaml')
-rw-r--r-- | tests/cassettes/test_status_post[Content warning-private].yaml | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-private].yaml b/tests/cassettes/test_status_post[Content warning-private].yaml index 24e396e..ec844b3 100644 --- a/tests/cassettes/test_status_post[Content warning-private].yaml +++ b/tests/cassettes/test_status_post[Content warning-private].yaml | |||
@@ -12,11 +12,9 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/statuses | 13 | uri: http://localhost:3000/api/v1/statuses |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"102315368797840479","created_at":"2019-06-22T13:03:50.347Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content | 15 | body: {string: '{"id":"102317293286816033","created_at":"2019-06-22T21:13:15.718Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content |
16 | warning","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368797840479","url":"http://localhost/@mastodonpy_test/102315368797840479","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 16 | warning","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293286816033","url":"http://localhost/@mastodonpy_test/102317293286816033","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
17 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 17 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
18 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
19 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
20 | headers: | 18 | headers: |
21 | Cache-Control: ['no-cache, no-store'] | 19 | Cache-Control: ['no-cache, no-store'] |
22 | Content-Type: [application/json; charset=utf-8] | 20 | Content-Type: [application/json; charset=utf-8] |
@@ -27,10 +25,10 @@ interactions: | |||
27 | X-Download-Options: [noopen] | 25 | X-Download-Options: [noopen] |
28 | X-Frame-Options: [SAMEORIGIN] | 26 | X-Frame-Options: [SAMEORIGIN] |
29 | X-Permitted-Cross-Domain-Policies: [none] | 27 | X-Permitted-Cross-Domain-Policies: [none] |
30 | X-Request-Id: [369f2e8c-2028-47d2-a19d-1800080e0ec5] | 28 | X-Request-Id: [baf0ab80-d160-4c68-943e-f9a590789847] |
31 | X-Runtime: ['0.129036'] | 29 | X-Runtime: ['0.135153'] |
32 | X-XSS-Protection: [1; mode=block] | 30 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1597'] | 31 | content-length: ['1236'] |
34 | status: {code: 200, message: OK} | 32 | status: {code: 200, message: OK} |
35 | - request: | 33 | - request: |
36 | body: null | 34 | body: null |
@@ -42,13 +40,11 @@ interactions: | |||
42 | Content-Length: ['0'] | 40 | Content-Length: ['0'] |
43 | User-Agent: [python-requests/2.18.4] | 41 | User-Agent: [python-requests/2.18.4] |
44 | method: DELETE | 42 | method: DELETE |
45 | uri: http://localhost:3000/api/v1/statuses/102315368797840479 | 43 | uri: http://localhost:3000/api/v1/statuses/102317293286816033 |
46 | response: | 44 | response: |
47 | body: {string: '{"id":"102315368797840479","created_at":"2019-06-22T13:03:50.347Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content | 45 | body: {string: '{"id":"102317293286816033","created_at":"2019-06-22T21:13:15.718Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content |
48 | warning","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368797840479","url":"http://localhost/@mastodonpy_test/102315368797840479","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py | 46 | warning","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293286816033","url":"http://localhost/@mastodonpy_test/102317293286816033","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py |
49 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 47 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
50 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
51 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
52 | headers: | 48 | headers: |
53 | Cache-Control: ['no-cache, no-store'] | 49 | Cache-Control: ['no-cache, no-store'] |
54 | Content-Type: [application/json; charset=utf-8] | 50 | Content-Type: [application/json; charset=utf-8] |
@@ -59,9 +55,9 @@ interactions: | |||
59 | X-Download-Options: [noopen] | 55 | X-Download-Options: [noopen] |
60 | X-Frame-Options: [SAMEORIGIN] | 56 | X-Frame-Options: [SAMEORIGIN] |
61 | X-Permitted-Cross-Domain-Policies: [none] | 57 | X-Permitted-Cross-Domain-Policies: [none] |
62 | X-Request-Id: [18b6ace3-8df2-4cd0-ada7-0ac78904396b] | 58 | X-Request-Id: [4c07461f-4587-44a9-a0ff-fccbf1caa8f3] |
63 | X-Runtime: ['0.085398'] | 59 | X-Runtime: ['0.109439'] |
64 | X-XSS-Protection: [1; mode=block] | 60 | X-XSS-Protection: [1; mode=block] |
65 | content-length: ['1567'] | 61 | content-length: ['1206'] |
66 | status: {code: 200, message: OK} | 62 | status: {code: 200, message: OK} |
67 | version: 1 | 63 | version: 1 |